.class public Lnbisdk/oc;
.super Ljava/lang/Object;


# instance fields
.field public tK:Ljava/util/Vector;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public constructor <init>(Lnbisdk/fk;II)V
    .locals 6

    const/4 v2, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    iput-object v0, p0, Lnbisdk/oc;->tK:Ljava/util/Vector;

    const-string v0, "vector-tile"

    invoke-virtual {p1, v0}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v1

    move v3, v2

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_1

    if-ltz v3, :cond_0

    const/16 v0, 0xc8

    if-ge v2, v0, :cond_1

    iget-object v4, p0, Lnbisdk/oc;->tK:Ljava/util/Vector;

    new-instance v5, Lnbisdk/mo;

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/fk;

    invoke-direct {v5, v0}, Lnbisdk/mo;-><init>(Lnbisdk/fk;)V

    invoke-virtual {v4, v5}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    add-int/lit8 v0, v3, 0x1

    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    return-void
.end method

.method public static r(Lnbisdk/fk;)Lnbisdk/hx;
    .locals 5

    new-instance v0, Lnbisdk/hx;

    const-string v1, "event-content"

    invoke-static {p0, v1}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    invoke-static {v1}, Lnbisdk/oc;->s(Lnbisdk/fk;)Lnbisdk/pm;

    move-result-object v1

    invoke-direct {v0, v1}, Lnbisdk/hx;-><init>(Lnbisdk/pm;)V

    const-string v1, "event-performance"

    invoke-virtual {p0, v1}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v1

    if-eqz v1, :cond_1

    :goto_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    new-instance v2, Lnbisdk/qx;

    invoke-direct {v2}, Lnbisdk/qx;-><init>()V

    const-string v3, "start-time"

    invoke-static {p0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    invoke-virtual {v2, v3, v4}, Lnbisdk/qx;->setStartTime(J)V

    const-string v3, "end-time"

    invoke-static {p0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    invoke-virtual {v2, v3, v4}, Lnbisdk/qx;->b(J)V

    const-string v3, "utc-offset"

    invoke-static {p0, v3}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v2, v3}, Lnbisdk/qx;->bn(I)V

    const-string v3, "all-day"

    invoke-static {p0, v3}, Lnbisdk/ij$a;->e(Lnbisdk/fk;Ljava/lang/String;)Z

    move-result v3

    invoke-virtual {v2, v3}, Lnbisdk/qx;->N(Z)V

    const-string v3, "indeterminate-time"

    invoke-static {p0, v3}, Lnbisdk/ij$a;->e(Lnbisdk/fk;Ljava/lang/String;)Z

    move-result v3

    invoke-virtual {v2, v3}, Lnbisdk/qx;->O(Z)V

    const-string v3, "bargain-price"

    invoke-static {p0, v3}, Lnbisdk/ij$a;->e(Lnbisdk/fk;Ljava/lang/String;)Z

    move-result v3

    invoke-virtual {v2, v3}, Lnbisdk/qx;->P(Z)V

    const-string v3, "pair"

    invoke-virtual {p0, v3}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v3

    if-eqz v3, :cond_0

    :goto_1
    invoke-interface {v3}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-interface {v3}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    invoke-static {p0}, Lnbisdk/co;->i(Lnbisdk/fk;)Lnbisdk/of;

    move-result-object v4

    invoke-virtual {v2, v4}, Lnbisdk/qx;->g(Lnbisdk/of;)V

    goto :goto_1

    :cond_0
    invoke-virtual {v0, v2}, Lnbisdk/hx;->a(Lnbisdk/qx;)V

    goto :goto_0

    :cond_1
    return-object v0
.end method

.method public static s(Lnbisdk/fk;)Lnbisdk/pm;
    .locals 5

    new-instance v0, Lnbisdk/pm;

    invoke-direct {v0}, Lnbisdk/pm;-><init>()V

    const-string v1, "name"

    invoke-static {p0, v1}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/pm;->setName(Ljava/lang/String;)V

    invoke-virtual {p0}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v1

    if-eqz v1, :cond_5

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "url"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    const-string v2, "value"

    invoke-static {p0, v2}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lnbisdk/pm;->setUrl(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    const-string v3, "rating"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    new-instance v2, Lnbisdk/ke;

    invoke-direct {v2}, Lnbisdk/ke;-><init>()V

    const-string v3, "star"

    invoke-static {p0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v3, v3

    invoke-virtual {v2, v3}, Lnbisdk/ke;->az(I)V

    const-string v3, "mpaa"

    invoke-virtual {p0, v3}, Lnbisdk/fk;->U(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_2

    const-string v3, "mpaa"

    invoke-static {p0, v3}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lnbisdk/ke;->ah(Ljava/lang/String;)V

    :cond_2
    invoke-virtual {v0, v2}, Lnbisdk/pm;->a(Lnbisdk/ke;)V

    goto :goto_0

    :cond_3
    const-string v3, "formatted-text"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_4

    invoke-static {p0}, Lnbisdk/oc;->t(Lnbisdk/fk;)Lnbisdk/nu;

    move-result-object v2

    invoke-virtual {v0, v2}, Lnbisdk/pm;->a(Lnbisdk/nu;)V

    goto :goto_0

    :cond_4
    const-string v3, "search-filter"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    new-instance v2, Lnbisdk/rb;

    invoke-direct {v2, p0}, Lnbisdk/rb;-><init>(Lnbisdk/fk;)V

    invoke-virtual {v0, v2}, Lnbisdk/pm;->b(Lnbisdk/lg;)V

    goto :goto_0

    :cond_5
    return-object v0
.end method

.method public static t(Lnbisdk/fk;)Lnbisdk/nu;
    .locals 12

    const/4 v10, 0x1

    const/4 v9, 0x2

    const/4 v8, 0x0

    if-nez p0, :cond_1

    const/4 v0, 0x0

    :cond_0
    return-object v0

    :cond_1
    new-instance v0, Lnbisdk/nu;

    invoke-direct {v0}, Lnbisdk/nu;-><init>()V

    invoke-virtual {p0}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v1

    if-eqz v1, :cond_0

    move v2, v9

    move v3, v8

    move v4, v8

    move v5, v8

    :cond_2
    :goto_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v6

    if-eqz v6, :cond_0

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    invoke-virtual {p0}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v6

    const-string v7, "text"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_3

    new-instance v6, Lnbisdk/fh;

    invoke-direct {v6}, Lnbisdk/fh;-><init>()V

    const-string v7, "data"

    invoke-static {p0, v7}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Lnbisdk/fh;->setText(Ljava/lang/String;)V

    invoke-virtual {v6, v9}, Lnbisdk/fh;->c(B)V

    invoke-virtual {v6, v2}, Lnbisdk/fh;->d(B)V

    invoke-virtual {v6, v5, v4, v3}, Lnbisdk/fh;->d(III)V

    invoke-virtual {v0, v6}, Lnbisdk/nu;->a(Lnbisdk/fh;)V

    move v2, v9

    move v3, v8

    move v4, v8

    move v5, v8

    goto :goto_0

    :cond_3
    const-string v7, "link"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_4

    new-instance v6, Lnbisdk/fh;

    invoke-direct {v6}, Lnbisdk/fh;-><init>()V

    const-string v7, "text"

    invoke-static {p0, v7}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Lnbisdk/fh;->setText(Ljava/lang/String;)V

    const-string v7, "href"

    invoke-static {p0, v7}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Lnbisdk/fh;->S(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Lnbisdk/nu;->a(Lnbisdk/fh;)V

    goto :goto_0

    :cond_4
    const-string v7, "color"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_5

    const-string v3, "red"

    invoke-static {p0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v3, v3

    const-string v4, "green"

    invoke-static {p0, v4}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v4

    long-to-int v4, v4

    const-string v5, "blue"

    invoke-static {p0, v5}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v5

    long-to-int v5, v5

    move v11, v5

    move v5, v3

    move v3, v11

    goto :goto_0

    :cond_5
    const-string v7, "font"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_7

    const-string v2, "name"

    invoke-static {p0, v2}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v6, "bold"

    invoke-virtual {v2, v6}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_6

    move v2, v10

    goto/16 :goto_0

    :cond_6
    move v2, v9

    goto/16 :goto_0

    :cond_7
    const-string v7, "newline"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_2

    new-instance v6, Lnbisdk/fh;

    invoke-direct {v6}, Lnbisdk/fh;-><init>()V

    invoke-virtual {v6, v10}, Lnbisdk/fh;->u(Z)V

    invoke-virtual {v0, v6}, Lnbisdk/nu;->a(Lnbisdk/fh;)V

    goto/16 :goto_0
.end method
